package com.hfkh;

import java.util.Arrays;

/**
 * @Author MDD
 * @Description
 * @Version
 * @Date
 **/
public class No_3 {
    public static void main(String[] args) {
        int[][] ar ={{22,66,44},{77,33,88},{25,45,65},{11,66,99}};

        for (int i = 0; i < ar.length; i++) {
            int sum = 0;
            for (int j = 0; j < ar[j].length; j++) {
                sum += ar[i][j];
            }
            System.out.println("第"+(i+1)+"总销售额："+sum);
        }
    }
}
